package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbLcyxbbMapper;
import com.ruoyi.tjbb.domain.SysTjbbLcyxbb;
import com.ruoyi.tjbb.service.ISysTjbbLcyxbbService;

/**
 * 凌晨2-5点运行报表Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbLcyxbbServiceImpl implements ISysTjbbLcyxbbService 
{
    @Autowired
    private SysTjbbLcyxbbMapper sysTjbbLcyxbbMapper;

    /**
     * 查询凌晨2-5点运行报表
     * 
     * @param id 凌晨2-5点运行报表主键
     * @return 凌晨2-5点运行报表
     */
    @Override
    public SysTjbbLcyxbb selectSysTjbbLcyxbbById(Long id)
    {
        return sysTjbbLcyxbbMapper.selectSysTjbbLcyxbbById(id);
    }

    /**
     * 查询凌晨2-5点运行报表列表
     * 
     * @param sysTjbbLcyxbb 凌晨2-5点运行报表
     * @return 凌晨2-5点运行报表
     */
    @Override
    public List<SysTjbbLcyxbb> selectSysTjbbLcyxbbList(SysTjbbLcyxbb sysTjbbLcyxbb)
    {
        return sysTjbbLcyxbbMapper.selectSysTjbbLcyxbbList(sysTjbbLcyxbb);
    }

    /**
     * 新增凌晨2-5点运行报表
     * 
     * @param sysTjbbLcyxbb 凌晨2-5点运行报表
     * @return 结果
     */
    @Override
    public int insertSysTjbbLcyxbb(SysTjbbLcyxbb sysTjbbLcyxbb)
    {
        return sysTjbbLcyxbbMapper.insertSysTjbbLcyxbb(sysTjbbLcyxbb);
    }

    /**
     * 修改凌晨2-5点运行报表
     * 
     * @param sysTjbbLcyxbb 凌晨2-5点运行报表
     * @return 结果
     */
    @Override
    public int updateSysTjbbLcyxbb(SysTjbbLcyxbb sysTjbbLcyxbb)
    {
        return sysTjbbLcyxbbMapper.updateSysTjbbLcyxbb(sysTjbbLcyxbb);
    }

    /**
     * 批量删除凌晨2-5点运行报表
     * 
     * @param ids 需要删除的凌晨2-5点运行报表主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbLcyxbbByIds(Long[] ids)
    {
        return sysTjbbLcyxbbMapper.deleteSysTjbbLcyxbbByIds(ids);
    }

    /**
     * 删除凌晨2-5点运行报表信息
     * 
     * @param id 凌晨2-5点运行报表主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbLcyxbbById(Long id)
    {
        return sysTjbbLcyxbbMapper.deleteSysTjbbLcyxbbById(id);
    }
}
